/**
 * 
 */
package org.going.factory;

import java.util.HashMap;
import java.util.Map;

import org.going.web.handler.JSHandler;
import org.going.web.handler.JSHandlerImpl;

/**
 * @author ferendo.huang@gmail.com
 * 
 */
public class JSHandlerFactory
{

	private static Map<Class<? extends JSHandler>, JSHandler> map = new HashMap<Class<? extends JSHandler>, JSHandler>();

	static
	{
		map.put(JSHandlerImpl.class, new JSHandlerImpl());
	}

	public static JSHandler getCommonJSHandler()
	{
		return map.get(JSHandlerImpl.class);
	}
}
